package cn.tx.sboot2.service;/*
 *
 * @author 陈粒
 * @version 创建时间：2021/8/15 16:41
 */
//第三步
import cn.tx.sboot2.pojo.Car;
import org.springframework.stereotype.Controller;

@Controller//IOC
public class CarServiceimpl implements CarService {
    @Override
    public Car get() {
        Car c = new Car();
        c.setName("GTR");
        c.setColor("Red");
        c.setPrice(10000000.0);
        return c;
    }
}
